package com.hpeu_12.day1221;
/**
 * 第二题:循环输出以下结果：
2*5=10
4*10=40
6*15=90
……
?*100=?
 * @author Administrator
 *
 */
public class HomeWork02 {

	public static void main(String[] args) {
		int sum = 1;
		int i = 5;
		int j = 2;
		while(i<=100) {
			if(i%5==0 && j%2==0) {
				sum = j*i;
			}
			System.out.println(j+"*"+i+"="+sum);
			i+=5;
			j+=2;
	}

}
}
